package com.yoyo.common.core.service;

import com.yoyo.common.core.enums.ErrorCode;
import org.springframework.context.NoSuchMessageException;

import java.util.Locale;



public interface ErrorMessageService  {


    public String getErrorMessage(ErrorCode errorCode, Locale locale);
}
